﻿/**********************************************************************************
 * Project Name :   
 * Remarks      :  
 * Class Name   :  UserModel 
 * Version      :  v1.0.0.0 
 * Author       :  Joey Liang 
 * Description  :  
 * Created Time :  2013/10/31 22:44:22
 * Update Man   :  Joey Liang
 * Update Time  :  2013/10/31 22:44:22
************************************************************************/

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IdleTest.EFAndMVCDemo.Models
{
    [Table("UserInfo")]
    public class UserModel
    {
        [Key]
        [MaxLength(50)]
        public string LoginName { get; set; }

        [MaxLength(50)]
        public string Password { get; set; }

        public int Age { get; set; }
    }
}
